from datetime import datetime
from typing import List

from pydantic import BaseModel


class UserCreateSerializer(BaseModel):
    id: int
    modify_time: datetime
    content: str = None
    kind: str = None
    addr: str = None


class UserListSerializer(BaseModel):
    users: List[UserCreateSerializer]
